//
// phpAddendLine(theFilePath, theData)
//
// Write data to the file terminated with a line feed. Requires SmartPill PHP plugin.
//
Let (
	[
		$theFilePath = theFilePath;
		$theData = theData;

		phpCode = "error_reporting(0); //E_ALL & ~E_NOTICE);¶
		¶
		echo file_put_contents(fm_evaluate('$theFilePath'), fm_evaluate('$theData') . \"\n\", FILE_APPEND);¶
	  "
	] ;
	PHP_Execute(phpCode)
)